package com.example.photography.bean;

import java.util.List;

public class Interest_Bean {

    /**
     * code : 202
     * msg : 请求成功
     * data : {"interest":[{"id":1,"image":"http://114.55.249.135:8888/touxiang/a.png","text":"建筑"},{"id":2,"image":"http://114.55.249.135:8888/touxiang/a.png","text":"自然"},{"id":3,"image":"http://114.55.249.135:8888/touxiang/a.png","text":"美食"},{"id":4,"image":"http://114.55.249.135:8888/touxiang/a.png","text":"简约"},{"id":5,"image":"http://114.55.249.135:8888/touxiang/a.png","text":"摄影器材"},{"id":6,"image":"http://114.55.249.135:8888/touxiang/a.png","text":"微距摄影"},{"id":7,"image":"http://114.55.249.135:8888/touxiang/a.png","text":"萌宠"},{"id":8,"image":"http://114.55.249.135:8888/touxiang/a.png","text":"人像"},{"id":9,"image":"http://114.55.249.135:8888/touxiang/a.png","text":"写意"}]}
     */

    private String code;
    private String msg;
    private DataBean data;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        private List<InterestBean> interest;

        public List<InterestBean> getInterest() {
            return interest;
        }

        public void setInterest(List<InterestBean> interest) {
            this.interest = interest;
        }

        public static class InterestBean {
            /**
             * id : 1
             * image : http://114.55.249.135:8888/touxiang/a.png
             * text : 建筑
             */

            private int id;
            private String image;
            private String text;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getImage() {
                return image;
            }

            public void setImage(String image) {
                this.image = image;
            }

            public String getText() {
                return text;
            }

            public void setText(String text) {
                this.text = text;
            }
        }
    }
}
